﻿using System;
using System.Collections.Generic;

namespace NMA.Domain.Model
{
    public interface IDomainObjectFactory
    {
        ICategory CreateCategory(string name, string createdUser, string updatedUser);

        INews CreateNews(string title, string shortDescription, string content, bool isPublish, 
            DateTime publishedDate, string publishedPerson, int numberOfView, byte[] image, 
            string createdUser, string updatedUser);
          
        IPoll CreatePoll(string name, int value, DateTime voteDate, string whoVote, string createdUser, string updatedUser);
        IAudit CreateAudit(string userName, string userAction, DateTime dateEvent);
        IResources CreateResources(string resourceType, string cultureCode, string resourceKey, string resourceValue, string createdUser, string updatedUser);
    }
}
